/*
* dns.x: Remote message printing protocol
*/

struct dns_record
{
    string name<256>;
    int address;
};

program DNSPROG
{
	version DNSVERS
	{
	    int UNREGISTER(string) = 1;
	    int REGISTER(dns_record) = 2;
		int RESOLVE(string) = 3;
	} = 1;
} = 99;
